package com.thinkit.bigdata.web.model.sec;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysGroup {
    private Long id;

    private Long areaid;

    private String areaname;

    private Long parentid;

    private String parentname;

    private Integer type;

    private String name;

    private Date createtime;

    private Long createuserid;

    private Date lastupdatetime;

    private Long lastupdateuserid;

    private Integer orderno;

    private String description;

    private Integer status;

    // 批量导入时标记机构所在行
    private Integer rownum;

    private List<Long> seatgroupidlist = new ArrayList<>();

    public List<Long> getSeatgroupidlist() {
        return seatgroupidlist;
    }

    public void setSeatgroupidlist(List<Long> seatgroupidlist) {
        this.seatgroupidlist = seatgroupidlist;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAreaid() {
        return areaid;
    }

    public void setAreaid(Long areaid) {
        this.areaid = areaid;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public Long getParentid() {
        return parentid;
    }

    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    public String getParentname() {
        return parentname;
    }

    public void setParentname(String parentname) {
        this.parentname = parentname;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Long getCreateuserid() {
        return createuserid;
    }

    public void setCreateuserid(Long createuserid) {
        this.createuserid = createuserid;
    }

    public Date getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(Date lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    public Long getLastupdateuserid() {
        return lastupdateuserid;
    }

    public void setLastupdateuserid(Long lastupdateuserid) {
        this.lastupdateuserid = lastupdateuserid;
    }

    public Integer getOrderno() {
        return orderno;
    }

    public void setOrderno(Integer orderno) {
        this.orderno = orderno;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRownum() {
        return rownum;
    }

    public void setRownum(Integer rownum) {
        this.rownum = rownum;
    }

    @Override
    public String toString() {
        return "group{id='" + getId() + "', type='" + getType() + "', name='" + getName() + "'}";
    }
}